#pragma once
#include "def_rfc.h"

class FrameDrawer
{
public:
	FrameDrawer() { m_dispalayfps = false; }
	void displayFPS(bool val) {m_dispalayfps = val;}
	virtual void videoFrame(FRAMEDATA * frame) = 0;
	virtual	void videoStream(VIDEODATA * streamInfo ) = 0;
	virtual void audioFrame(AUDIODATA * frame ) = 0;
	virtual void audioStream( AUDIODATA * streamInfo ) = 0;
	virtual void dataStream( AVDATA * streamInfo ) = 0;
	virtual void dataFrame(AVDATA * frame) {};
protected:
	bool m_dispalayfps;
};
